﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page 
{
    MovieRepository repo;
    protected void Page_Load(object sender, EventArgs e)
    {
        repo = new MovieRepository();
    }
    protected void cmdCreateUser_Click(object sender, EventArgs e)
    {
        repo.CreateNewUser(txtUsername.Text, txtPassword.Text, txtEmail.Text);
    }
}
